*{
    margin: 0;
    padding: 0;
    font-size: 12px;
}
li {
    list-style: none;
}
a {
    text-decoration: none;
    cursor: pointer;
}
.clearf {
    zoom: 1;
    overflow: auto;
}

//头部
header{
    width: 100%;
    height: 166px;
    background: url(/images/header/index_01.jpg) center 0px no-repeat;
    font-size: 12px;
    .top {
        height: 34px;
        width: 100%;
        .content {
            width: 1120px;
            height: 34px;
            margin: 0 auto;
            > a {
                color: #666;
                float: left;
                height: 34px;
                line-height: 34px;
            }
            > a:hover {
                text-decoration: underline;
            }
            .right {
                float: right;
                position: relative;
                > a {
                    display: inline-block;
                    background: url(/images/header/right.png) -8px -32px no-repeat;
                    height: 34px;
                    line-height: 34px;
                    padding-left: 19px;
                    margin-right: 10px;
                    color: #a01f23;
                    font-size: 12px;
                    float: left;
                    position: relative;
                    .top_tip {
                        position: absolute;
                        top: 34px;
                        width: 90px;
                        height: auto;
                        left: 0px;
                        background: #FFF;
                        line-height: 24px;
                        text-align: center;
                        border: 1px solid #c9c9c9;
                        border-top: 0px;
                        padding-top: 6px;
                        padding-bottom: 6px;
                        display: none;
                        a {
                            display: block;
                            text-align: left;
                            color: #333;
                            text-indent: 10px;
                            width: 100%;
                        }
                        a:hover {
                            text-decoration: underline;
                        }
                    }
                }
                > a:hover {
                    text-decoration: underline;
                }
                
                > span {
                    float: left;
                    background: url(/images/header/dian.png) 59px center no-repeat;
                    width: 62px;
                    padding-right: 0px;
                    padding-left: 8px;
                    cursor: default;
                    margin-right: 0px;
                    margin-left: 6px;
                    color: #666;
                    height: 34px;
                    line-height: 34px;
                    font-size: 12px;
                }
                .toplist {
                    position: relative;
                    .top_tip {
                        position: absolute;
                        top: 34px;
                        width: 90px;
                        height: auto;
                        left: 0px;
                        background: #FFF;
                        line-height: 24px;
                        text-align: center;
                        border: 1px solid #c9c9c9;
                        border-top: 0px;
                        padding-top: 6px;
                        padding-bottom: 6px;
                        display: none;
                        a {
                            display: block;
                            text-align: left;
                            color: #333;
                            text-indent: 10px;
                            width: 100%;
                        }
                        a:hover {
                            text-decoration: underline;
                        }
                    }
                }
                .toplist:nth-child(3) .top_tip{
                    width: 190px;
                }
                .toplist:hover {
                    background: url(/images/header/tophover_xian.jpg)  center no-repeat;
                }
                .top_wx {
                    background: url(/images/header/right.png) -8px -67px no-repeat;
                    width: 58px;
                    float: left;
                    text-align: right;
                    .top_wx_tip {
                        background: url(/images/header/weixin.png) no-repeat;
                        width: 150px;
                        height: 182px;
                        position: absolute;
                        right: 0px;
                        top: 30px;
                        display: none;
                        z-index: 999;
                    }
                }
            }
        }
    }

    //logo
    .logo {
        height: 130px;
        width: 100%;
        .content {
            > a {
                height: 130px;
                width: 258px;
                display: block;
                float: left;
            }
            background: url(/images/header/dnflogo.png) left center no-repeat;
            height: 130px;
            width: 1164px;
            margin: 0px auto;
            .search {
                height: 46px;
                float: left;
                margin-left: 120px;
                margin-top: 38px;
                .search_case {
                    width: 322px;
                    height: 46px;
                    overflow: hidden;
                    input {
                        float: left;
                    }
                    input.tx {
                        padding: 2px 4px 2px 4px;
                        border: 1px solid #e00011;
                        border-right: 0px;
                        font-size: 14px;
                        width: 260px;
                        height: 32px;
                        line-height: 32px;
                        color: #fff;
                        vertical-align: middle;
                        margin: 0px;
                        border-right: 0px;
                        background: none;
                    }
                    input.sub {
                        width: 42px;
                        height: 38px;
                        background: url(/images/header/menu.png) no-repeat -10px -18px #e00011;
                        vertical-align: middle;
                        color: #797979;
                        margin: 0px;
                        padding: 0px;
                        border: 0px;
                        cursor: pointer;
                    }
                }
                a {
                    color: #f00;
                    padding-right: 15px;
                    font-size: 14px;
                }
                a:hover {
                    text-decoration: underline;
                }
            }
        }
    }
}

